package com.alpaak.ewell.factory.method1;

public class FactoryTest {
  
    public static void main(String[] args) {  
        SendFactory factory = new SendFactory();  
        Sender sender1 = factory.produceMail();
        Sender sender2 = factory.produceSms();
        Sender sender3 = factory.produceWX();
        sender1.Send();
        sender2.Send();
        sender3.Send();
    }
}  